package com.wang.mandkey.bean;

import com.wang.mandkey.utils.StringUtils;

public class KeyBoardAction extends AbstracAction {

	KeyBoardAction action=null;
	
	public KeyBoardAction(String utfCode) {
		this.utfCode = utfCode;
		if (!StringUtils.isEmpty(this.utfCode)) {
			String[] actions=this.utfCode.split(":");
			
           this.actionName=actions[0];
           this.actionCode= (actions[1].toCharArray()[0]);  
           this.setUtfCode(this.utfCode);
		}
	}
	


	@Override
	AbstracAction parserUtf4Action() {
	  return this;
	}

}
